package com.qinbaokeji.checkpoint.dahuacamera.service;


import java.util.HashMap;
import java.util.Map;

public class ServiceFactory {
    private static Map<String, Object> map = new HashMap<>();

    public static Object getService(String key){
        return map.get(key);
    }

    public static void setService(String key,Object iService){
        map.put(key,iService);
    }
}
